@using OrchardCore.Contents.Workflows.ViewModels
@model ContentPublishedEventViewModel

<fieldset class="form-group" asp-validation-class-for="SelectedContentTypeNames">
    <label asp-for="SelectedContentTypeNames">@T["Content Types"] <span asp-validation-for="SelectedContentTypeNames"></span></label>
    @await Component.InvokeAsync("SelectContentTypes", new { selectedContentTypes = Model.SelectedContentTypeNames, htmlName = Html.NameFor(m => m.SelectedContentTypeNames) })
    <span class="hint">@T["Select any content types to filter on."]</span>
</fieldset>